package cn.tedu.reflect;

import org.junit.Test;

public class Person {
    public String name;
    public int age;
    private double score;

    public void eat(){
        System.out.println("eat()");
    }
    public void sleep(int a, String b){
        System.out.println("sleep()");
    }
    private void game(String x){
        System.out.println("game()");
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }
    @Test
    public void show(){
        System.out.println(123);
    }
}
